package com.qa.dom.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author cxj
 * @since 2018-04-24
 */
public class Usertable extends Model<Usertable> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 昵称
     */
	private String nickname;
    /**
     * 头像
     */
	private String sheadimg;
    /**
     * 性别
     */
	private String sex;
    /**
     * 手机号
     */
	private String phone;
    /**
     * 年级
     */
	private String grade;
    /**
     * 老师年级
     */
	@TableField("teacher_grade")
	private String teacherGrade;

    /**
     * 课程
     */
	private String course;
    /**
     * 教龄
     */
	private Integer teachage;
    /**
     * 风格
     */
	private String style;
    /**
     * 经验
     */
	private String experience;
    /**
     * 云信账号
     */
	private String accid;
    /**
     * 是否首次(0:是 1:不是)
     */
	private Integer isfirst;
    /**
     * 金钱余额
     */
	private BigDecimal money;
    /**
     * 微信账号
     */
	private String wechat;
    /**
     * 支付宝账号
     */
	private String alipay;

	public Usertable() {
	}


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getSheadimg() {
		return sheadimg;
	}

	public void setSheadimg(String sheadimg) {
		this.sheadimg = sheadimg;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getTeacherGrade() {
		return teacherGrade;
	}

	public void setTeacherGrade(String teacherGrade) {
		this.teacherGrade = teacherGrade;
	}

	public String getCourse() {
		return course;
	}

	public void setCourse(String course) {
		this.course = course;
	}

	public Integer getTeachage() {
		return teachage;
	}

	public void setTeachage(Integer teachage) {
		this.teachage = teachage;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public String getExperience() {
		return experience;
	}

	public void setExperience(String experience) {
		this.experience = experience;
	}

	public String getAccid() {
		return accid;
	}

	public void setAccid(String accid) {
		this.accid = accid;
	}

	public Integer getIsfirst() {
		return isfirst;
	}

	public void setIsfirst(Integer isfirst) {
		this.isfirst = isfirst;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public String getAlipay() {
		return alipay;
	}

	public void setAlipay(String alipay) {
		this.alipay = alipay;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Usertable{" +
			", id=" + id +
			", nickname=" + nickname +
			", sheadimg=" + sheadimg +
			", sex=" + sex +
			", phone=" + phone +
			", grade=" + grade +
			", teacherGrade=" + teacherGrade +
			", course=" + course +
			", teachage=" + teachage +
			", style=" + style +
			", experience=" + experience +
			", accid=" + accid +
			", isfirst=" + isfirst +
			", money=" + money +
			", wechat=" + wechat +
			", alipay=" + alipay +
			"}";
	}


}
